package com.seqb.manage.file.service;

import com.github.pagehelper.Page;
import com.seqb.common.ResultVo;
import com.seqb.manage.file.domain.FileDO;

import java.util.List;
import java.util.Map;

/**
 * @author lilinshen
 * @title 文件管理表
 * @description 请填写相关描述
 * @date 2019/11/14
 */
public interface FileService {

    FileDO get(Long id);

    Page<FileDO> list(Map<String, Object> map);

    List<FileDO> listByIds(String domainIds);

    int count(Map<String, Object> map);

    int save(FileDO file);

    int update(FileDO file);

    int remove(Long id);

    int batchRemove(Long[] ids);

    ResultVo updateIds(String ids, Long domainId, String domainName, String domainField);

}
